.TH icepatch2calc 1

.SH NAME

icepatch2calc - IcePatch2 tool to compress files and calculate checksums.

.SH SYNOPSIS

icepatch2calc [options] data_dir [file...]

.SH DESCRIPTION

IcePatch2 tool to compress files and calculate checksums. Full documentation
for icepatch2calc is available online at:
.br
https://doc.zeroc.com/ice/3.7/ice-services/icepatch2/using-icepatch2calc

.SH OPTIONS

.TP
.BR \-h ", " \-\-help\fR
.br
Displays a help message.

.TP
.BR \-v ", " \-\-version\fR
Displays the Ice version.

.TP
.BR \-z ", " \-\-compress\fR
.br
Normally, icepatch2calc scans the data directory and compresses a file only
if no compressed version exists, or if the compressed version of a file has a
modification time that predates that of the uncompressed version. If you
specify -z, the tool re-scans and recompresses the entire data directory,
regardless of the time stamps on files. This option is useful if you suspect
that time stamps in the data directory may be incorrect.

.TP
.BR \-Z ", " \-\-no-compress\fR
.br
This option allows you to create a client-side checksum file. Do not use this
option when creating the checksum file for the server — the option is for
creating a client-side IcePatch2.sum file for updates of software on
distribution media.

.TP
.BR \-i ", " \-\-case\-insensitive\fR
.br
This option disallows file names that differ only in case. (An error message
will be printed if icepatch2calc encounters any files that differ in case
only.) This is particularly useful for Unix servers with Windows clients,
since Windows folds the case of file names, and therefore such files would
override each other on the Windows client.

.TP
.BR \-V ", " \-\-verbose\fR
.br
This option prints a progress message for each file that is compressed and for
each checksum that is computed.

.SH SEE ALSO

.BR icepatch2client (1),
.BR icepatch2server (1)
